package com.greateamd.timetableasy.client.services.promotion;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.greateamd.timetableasy.domain.Event;
import com.greateamd.timetableasy.domain.Promotion;


public interface PromotionServiceAsync {

	void remove(Promotion promotion, AsyncCallback<Boolean> callback);
	void find(int id, AsyncCallback<Promotion> callback);
	void update(Promotion promotion, AsyncCallback<Boolean> callback);
	void save(Promotion promotion, AsyncCallback<Boolean> callback);
	void getAll(AsyncCallback<List<Promotion>> callback);
	void getAllOfCampusManager(AsyncCallback<List<Promotion>> callback);
	void getPlanning(Promotion promotion, Date from, Date to, AsyncCallback<List<Event>> callback);
}
